package com.zpark.wxshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author PJone
 * @since 2023-09-10
 */
@Getter
@Setter
@TableName("t_vipcard")
public class Vipcard implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员卡id
     */
    @TableId(value = "card_id", type = IdType.AUTO)
    private Integer cardId;

    /**
     * 会员卡持有人
     */
    private Integer uid;

    /**
     * 店铺id
     */
    private Integer sid;

    /**
     * 会员卡余额
     */
    private Integer balance;

    /**
     * 会员卡号
     */
    private Integer cardNumber;

    /**
     * 有效期
     */
    private Date expirationDate;

    /**
     * 享受折扣
     */
    private Double discount;

    /**
     * 会员等级
     */
    private Integer vipLevel;

    /**
     * 是否失效 1-失效 0-未失效
     */
    private Integer isLapse;


}
